<%@page import="com.tubeonfire.entity.Playlist" %>
<%@page import="com.tubeonfire.service.ChannelService" %>
<%@page import="java.util.List" %>

<%
		List<Playlist> listPl = (List<Playlist>) request.getAttribute("listPl");			
		if(listPl!=null&&listPl.size()>0)
		{
			%>
				<h2 class="title-line">New Playlists</h2>	
			<%
			for(Playlist pl : listPl){
	%>	
		<div class="social-box">
			<a href="/playlist/<%=pl.getId() %>/<%=pl.getAlias().getValue() %>" title = "<%=pl.getTitle().getValue()%>">
				<img  src="/image?key=<%=pl.getPictureBlobKey().getValue() %>" alt = "<%=pl.getTitle().getValue()%>" width="48px" />
			</a>
			<div class="social-box-text">
				<span class="social-arrow"></span>
				<span class="social-box-descrip">
					<a href="/playlist/<%=pl.getId() %>/<%=pl.getAlias().getValue() %>" title = "<%=pl.getTitle().getValue()%>"><%=pl.getTitle().getValue() %></a>
				</span>
				<span class="social-box-count"><%=pl.getDescription()==null?"":pl.getDescription().getValue() %></span>
			</div>
		</div>	
		<%
		}
	}
%>
	